package com.syni.service.mddorder;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;

/**
 * @className ProductService
 * @description TOO
 * @Author cfx
 * @DATE 2020/6/14 21:03
 * @VERSION 1.0
 **/
@FeignClient(value = "mdd-order-stat",path = "/orderStat")
@RequestMapping("/product")
public interface ProductService{
    //对应要调用的client-user微服务控制层请求方法
    @PostMapping("/buckleInventory")
    Map<String,Object> buckleInventory();
}
